package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName OrderQuantity
 * @Author 谭金诚
 * @Date 2021/1/7
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@ToString
@EqualsAndHashCode
public class JsBeforeUser {

  private Integer userId;
  private String photoImg;
  private String account;
  private String nickname;
  private Integer userCode;
  private String avatarUrl;
  private Integer studyDate;
  private Integer status;
  private String freestyle;
  private String idCard;
  private String phone;
  private Integer sex;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date birthDate;
  private String email;
  private String remarks;
  private String intention;
  private String consumption;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createDate;
  private String fullName;

}
